//
//  CMCircularMap.h
//  饼状图
//
//  Created by tanqilong on 16/8/24.
//  Copyright © 2016年 tanqilong. All rights reserved.
//  饼状图

#import <UIKit/UIKit.h>

@interface CMPieChartMap : UIView
@property (nonatomic,strong) NSArray * modeArray;
@property (nonatomic,assign) float lineWidth; //环状图线的宽度
@property (nonatomic,assign) float lineWidthPercent; //环状圈线条宽度比例0~1之间(默认为圆半径的3/5)
/**
 *  刷新显示视图
 */
-(void)updateView;
@end


@interface CMPieChartMode : NSObject
@property (nonatomic,assign) float percent; //所占百分比
@property (nonatomic,strong) UIColor * color; //当前比例的颜色
@end